home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_400 / 443_01 / doc / info / cncl.info-7 < prev    next >
Encoding:
GNU Info File  |  1996-01-04  |  15.6 KB  |  362 lines

  1. This is Info file cncl.info, produced by Makeinfo-1.63 from the input
  2. file cncl.texi.
  3.  
  4.    This file documents the use of CNCL, the Communication Networks Class
  5. Library.
  6.  
  7.    Copyright (C) 1993-1996, Communication Networks.
  8.  
  9.    Permission is granted to make and distribute verbatim copies of this
  10. manual provided the copyright notice and this permission notice are
  11. preserved on all copies.
  12.  
  13.    Permission is granted to copy and distribute modified versions of
  14. this manual under the conditions for verbatim copying, provided that the
  15. entire resulting derived work is distributed under the terms of a
  16. permission notice identical to this one.
  17.  
  18.    Permission is granted to copy and distribute translations of this
  19. manual into other languages, under the above conditions for modified
  20. versions.
  21.  
  22. 
  23. File: cncl.info,  Node: CNPInt,  Next: Other CNP<type>,  Prev: CNPiostream,  Up: Persistent
  24.  
  25. CNPInt -- class persistent CNInt
  26. ================================
  27.  
  28. SYNOPSIS
  29. --------
  30.  
  31.    `#include <CNCL/PInt.h>'
  32.  
  33. TYPE
  34. ----
  35.  
  36.    `CN_PINT'
  37.  
  38. * Menu:
  39.  
  40. BASE CLASSES
  41. ------------
  42. * CNInt::        Integer derived from CNObject
  43. * CNPObjectID::         ID-Managment for persistent Objects
  44.  
  45. DERIVED CLASSES
  46. ---------------
  47.  
  48. RELATED CLASSES
  49. ---------------
  50. * Other CNP<type>::      Other  persistent classes
  51.  
  52. DESCRIPTION
  53. -----------
  54.  
  55.    `CNPInt' manages the persistency of `CNInt''s. As `CNInt' is its
  56. base class, all methods of `CNInt' are available.
  57.  
  58.    Constructors:
  59.  
  60. `CNPInt(long val=0);'
  61. `CNPInt(CNPstream& stream);'
  62. `CNPInt(CNParam *param);'
  63.      Initializes the `CNPInt'. Either the value is given as `val' ( 0
  64.      by default) or it will be read from the persistent `stream'
  65.      (reader-constructor).
  66.  
  67. In addition to the member functions required by CNCL, `CNInt' provides:
  68.  
  69. `virtual int store_on(CNPstream& s);'
  70. `int store_on(CNPstream& s, bool no_ptr_check);'
  71.      Stores the `CNPInt' on the persistent stream `s'. The boolean
  72.      parameter `no_ptr_check' switches the check for multiple storing
  73.      off (if set TRUE).
  74.  
  75. `static CNPInt* read_from(CNPstream& s);'
  76.      Reads the `CNPInt' from stream `s'.
  77.  
  78. `static CNObject* object_read_from(CNPstream& s);'
  79.      Reads from stream `s' as a `CNObject'.
  80.  
  81. `CNPID object_id();'
  82.      Returns the ID of the current Object.
  83.  
  84. `virtual int storer(CNPstream&);'
  85. `static CNPInt* reader(CNPstream& s);'
  86.      These two functions are called by the class `CNPIO' as a
  87.      connection to the persistent output/reader-construktor.
  88.  
  89. 
  90. File: cncl.info,  Node: Other CNP<type>,  Prev: CNPInt,  Up: Persistent
  91.  
  92. CNP<type> -- persistent types
  93. =============================
  94.  
  95. DESCRIPTION
  96. -----------
  97.  
  98.    CNCL currently provides persistent extensions for the (CNCL-) data
  99. types `CNDouble', `CNInt', `CNString' and the container classes
  100. `CNDLList', `CNArrayObject'.
  101.  
  102.    The only difference of functions in these extensions to the previosly
  103. described extension `CNPInt' may be some additional constructors and
  104. =operators for a better connection to the base class.
  105.  
  106. 
  107. File: cncl.info,  Node: Concept Index,  Next: Function Index,  Up: Top
  108.  
  109. Concept Index
  110. *************
  111.  
  112. * Menu:
  113.  
  114. * Abstract Base Class for Hash Tables:  CNHashTable.
  115. * Additive RNG:                         CNACG.
  116. * Array <1>:                            CNArray.
  117. * Array:                                Other CNArray<type>.
  118. * Array Classes:                        Arrays.
  119. * Array of <Type>:                      Other CNArray<type>.
  120. * Array of CNCL Objects:                CNArrayObject.
  121. * Array of Integer:                     CNArrayInt.
  122. * Array2 <1>:                           Other CNArray2<type>.
  123. * Array2:                               CNArray2.
  124. * Array2 of <Type>:                     Other CNArray2<type>.
  125. * array2char:                           CNArray2Char.
  126. * AVL node:                             CNAVLNode.
  127. * AVL tree:                             CNAVLTree.
  128. * Base Class:                           CNCL.
  129. * Basic Classes:                        Basic Classes.
  130. * Batch-Means:                          CNBatchMeans.
  131. * Beta Distribution:                    CNBeta.
  132. * Binomial Distribution:                CNBinomial.
  133. * Character String:                     CNString.
  134. * Class Description <1>:                CNClass.
  135. * Class Description <1>:                Common Functions.
  136. * Class Description <1>:                CNObject.
  137. * Class Description:                    CNClass.
  138. * Class Generation:                     CNgenclass.
  139. * Class Hierarchy <1>:                  Class Hierarchy.
  140. * Class Hierarchy:                      CNObject.
  141. * Class Templates:                      CNgenclass.
  142. * Classes <1>:                          Basic Classes.
  143. * Classes:                              Class Hierarchy.
  144. * CNarray <1>:                          Other CNArray2<type>.
  145. * CNarray:                              Other CNArray<type>.
  146. * CNCL Base Class:                      CNCL.
  147. * CNCL Classes:                         Class Hierarchy.
  148. * CNCL Concept:                         Common Functions.
  149. * CNCL Hierarchy:                       Class Hierarchy.
  150. * CNgenclass:                           CNgenclass.
  151. * CNQueue:                              CNQueueFIFO.
  152. * Common Member Functions:              Common Functions.
  153. * Container Classes:                    Container.
  154. * Coordinates <1>:                      CNCoord.
  155. * Coordinates:                          CNICoord.
  156. * Data File RNG:                        CNFileG.
  157. * Debug Output:                         CNObject.
  158. * Deterministic Distribution:           CNDeterm.
  159. * Discrete Uniform Distribution:        CNDiscUniform.
  160. * Distribution from Table of CDF <1>:   CNDiracTab.
  161. * Distribution from Table of CDF <1>:   CNInterTab.
  162. * Distribution from Table of CDF:       CNTab.
  163. * Distribution Function <1>:            CNBatchMeans.
  164. * Distribution Function <1>:            CNLRE.
  165. * Distribution Function:                CNDLRE.
  166. * DLRE:                                 CNDLRE.
  167. * Double:                               CNDouble.
  168. * Doubly Linked List <1>:               CNDLList.
  169. * Doubly Linked List <1>:               CNDLIterator.
  170. * Doubly Linked List:                   CNDLObject.
  171. * Easy Drawing:                         EZD Interface.
  172. * Erlang-k Distribution:                CNErlang.
  173. * Error Handling:                       CNCL.
  174. * Error Messages:                       CNCL.
  175. * Evaluation:                           Evaluation.
  176. * Event Base Scheduler:                 CNEventBaseSched.
  177. * Event Driven Simulation <1>:          CNEventExploder.
  178. * Event Driven Simulation <1>:          CNEvent.
  179. * Event Driven Simulation:              CNEventHandler.
  180. * Event Handler <1>:                    CNEventHandler.
  181. * Event Handler:                        CNEventExploder.
  182. * Event Scheduler <1>:                  CNEventList.
  183. * Event Scheduler <1>:                  CNEventScheduler.
  184. * Event Scheduler:                      CNEventHeapSched.
  185. * Events <1>:                           CNEvent.
  186. * Events <1>:                           CNEventHandler.
  187. * Events <1>:                           CNEventHeapSched.
  188. * Events <1>:                           Events.
  189. * Events <1>:                           CNEventExploder.
  190. * Events <1>:                           CNEventList.
  191. * Events <1>:                           CNEventBaseSched.
  192. * Events:                               CNEventScheduler.
  193. * Example:                              Event Example.
  194. * EZD:                                  EZD.
  195. * EZD Bit Display:                      EZDBlock.
  196. * EZD Diagram:                          EZDDiag.
  197. * EZD Diagram Window:                   EZDDiagWin.
  198. * EZD Drawing:                          EZDDrawing.
  199. * EZD Objects:                          EZDObject.
  200. * EZD Popup Menu:                       EZDPopUp.
  201. * EZD Push-Button:                      EZDPushButton.
  202. * EZD Queue:                            EZDQueue.
  203. * EZD Server:                           EZDServer.
  204. * EZD Text:                             EZDText.
  205. * EZD Text Window:                      EZDTextWin.
  206. * EZD Timer:                            EZDTimer.
  207. * EZD Window:                           EZDWindow.
  208. * Fibonacci RNG:                        CNFiboG.
  209. * FIFO Queue:                           CNQueueFIFO.
  210. * FormFloat:                            CNFormFloat.
  211. * FormInt:                              CNFormInt.
  212. * Fuzzy Array Set:                      CNFSetArray.
  213. * Fuzzy Clause:                         CNFClause.
  214. * Fuzzy Logic:                          Fuzzy.
  215. * Fuzzy Number Triangle:                CNFNumTriangle.
  216. * Fuzzy Rule Base:                      CNFRuleBase.
  217. * Fuzzy Rules:                          CNFRule.
  218. * Fuzzy Set:                            CNFSet.
  219. * Fuzzy Set L/R:                        CNFSetLR.
  220. * Fuzzy Trapez Set:                     CNFSetTrapez.
  221. * Fuzzy Triangle Set:                   CNFSetTriangle.
  222. * Fuzzy Variable:                       CNFVar.
  223. * Generic Container Classes:            Container.
  224. * Geometric Distribution:               CNGeometric.
  225. * getopt:                               CNGetOpt.
  226. * Hash table:                           CNHashIterator.
  227. * Hash Table:                           CNHashTable.
  228. * Hash Table with Dynamic Capacity:     CNHashDynamic.
  229. * Hash Table with Static Capacity:      CNHashStatic.
  230. * Hyperexponential Distribution:        CNHyperExp.
  231. * Hypergeometrical Distribution:        CNHyperGeom.
  232. * ini-style:                            CNIniFile.
  233. * Int:                                  CNInt.
  234. * Integer Coordinates:                  CNICoord.
  235. * Integer Key:                          CNKeyInt.
  236. * Introduction <1>:                     Top.
  237. * Introduction:                         Introduction.
  238. * iterate through event list:           CNEventIterator.
  239. * Iterator <1>:                         CNDLIterator.
  240. * Iterator <1>:                         CNHashIterator.
  241. * Iterator:                             CNSLIterator.
  242. * Job:                                  CNJob.
  243. * Key:                                  CNKey.
  244. * LIFO Queue:                           CNQueueLIFO.
  245. * Linear Congruence RNG:                CNLCG.
  246. * Linked list:                          CNDLObject.
  247. * Linked List <1>:                      CNDLIterator.
  248. * Linked List <1>:                      CNDLList.
  249. * Linked List <1>:                      CNSLList.
  250. * Linked List:                          CNSLIterator.
  251. * Linked list:                          CNSLObject.
  252. * List <1>:                             CNDLObject.
  253. * List <1>:                             CNDLIterator.
  254. * List <1>:                             CNDLList.
  255. * List <1>:                             CNSLObject.
  256. * List <1>:                             CNSLIterator.
  257. * List:                                 CNSLList.
  258. * Log-normal Distribution:              CNLogNormal.
  259. * LRE:                                  CNLRE.
  260. * M/M/1 Simulation:                     Event Example.
  261. * Manager:                              CNManager.
  262. * Math Error:                           CNCL.
  263. * max:                                  minmax.
  264. * Member Functions:                     Common Functions.
  265. * min:                                  minmax.
  266. * minmax:                               minmax.
  267. * Miscellaneous:                        Misc.
  268. * Mix of Distributions:                 CNRandomMix.
  269. * Moments:                              CNMoments.
  270. * MomentsTime:                          CNMomentsTime.
  271. * Multiple Linear Congruence RNG:       CNMLCG.
  272. * Negative Exponential Distribution:    CNNegExp.
  273. * Node <1>:                             CNDLObject.
  274. * Node:                                 CNSLObject.
  275. * Normal Distribution:                  CNNormal.
  276. * Object Class:                         CNObject.
  277. * Object Creation:                      Common Functions.
  278. * Object Management <1>:                Object Management.
  279. * Object Management <1>:                CNKey.
  280. * Object Management <1>:                CNKeyString.
  281. * Object Management:                    CNKeyInt.
  282. * Object Management Frontend:           CNManager.
  283. * Object with Name:                     CNNamed.
  284. * Output:                               CNObject.
  285. * Parameter Class:                      CNParam.
  286. * Parameter Objects:                    CNParam.
  287. * Persistent:                           Persistent.
  288. * Persistent CNInt:                     CNPInt.
  289. * Persistent IO:                        CNPIO.
  290. * Persistent IO Stream:                 CNPiostream.
  291. * Persistent Object ID:                 CNPObjectID.
  292. * Persistent Reader Table:              CNReaderTbl.
  293. * Persistent Stream:                    CNPstream.
  294. * Persistent Types:                     Other CNP<type>.
  295. * Poisson Distribution:                 CNPoisson.
  296. * Priority FIFO Queue:                  CNPrioQueueFIFO.
  297. * Ptr:                                  CNPtr.
  298. * Queue:                                CNQueue.
  299. * Random Distribution:                  CNRandom.
  300. * Random Distribution Base Class:       CNRandom.
  301. * Random Integers:                      CNRndInt.
  302. * Random Mix of Deterministic Values:   CNMDeterm.
  303. * Random Number Generator:              CNRNG.
  304. * Random Number Generators:             Random Numbers.
  305. * Random Numbers:                       Random Numbers.
  306. * Random Queue:                         CNQueueRandom.
  307. * Range Checking <1>:                   CNArray.
  308. * Range Checking <1>:                   CNArrayInt.
  309. * Range Checking <1>:                   Other CNArray<type>.
  310. * Range Checking <1>:                   CNArrayObject.
  311. * Range Checking:                       Other CNArray2<type>.
  312. * Rayleigh Distribution:                CNRayleigh.
  313. * Ref:                                  CNRef.
  314. * RefNamed:                             CNRefNamed.
  315. * RefObj:                               CNRefObj.
  316. * Rice Distribution:                    CNRice.
  317. * RNG:                                  Random Numbers.
  318. * RNG ACG:                              CNACG.
  319. * RNG Base Class:                       CNRNG.
  320. * RNG by Data Files:                    CNFileG.
  321. * RNG Fibonacci:                        CNFiboG.
  322. * RNG Linear Congruence:                CNLCG.
  323. * RNG Multiple Linear Congruence:       CNMLCG.
  324. * RNG Tausworth:                        CNTausG.
  325. * Root of Hierarchy:                    CNObject.
  326. * Runtime Type Information <1>:         CNClass.
  327. * Runtime Type Information:             CNObject.
  328. * Safe Type Casts:                      Common Functions.
  329. * Simulation <1>:                       CNEventHeapSched.
  330. * Simulation <1>:                       CNEventExploder.
  331. * Simulation <1>:                       Event Example.
  332. * Simulation <1>:                       CNEventHandler.
  333. * Simulation <1>:                       CNEventScheduler.
  334. * Simulation <1>:                       CNEventBaseSched.
  335. * Simulation <1>:                       CNEvent.
  336. * Simulation:                           Events.
  337. * Simulation Time:                      CNSimTime.
  338. * Single Linked List <1>:               CNSLIterator.
  339. * Single Linked List <1>:               CNSLObject.
  340. * Single Linked List:                   CNSLList.
  341. * Sink:                                 CNSink.
  342. * SPT Queue:                            CNQueueSPT.
  343. * Stack:                                CNStack.
  344. * Statistical Evaluation:               Evaluation.
  345. * Statistics:                           CNStatistics.
  346. * String:                               CNString.
  347. * String Key:                           CNKeyString.
  348. * Tausworth RNG:                        CNTausG.
  349. * Templates:                            CNgenclass.
  350. * Type Casts:                           Common Functions.
  351. * Type Checking <1>:                    Common Functions.
  352. * Type Checking:                        CNObject.
  353. * Type Information <1>:                 Common Functions.
  354. * Type Information <1>:                 CNObject.
  355. * Type Information:                     CNClass.
  356. * Uniform Distribution:                 CNUniform.
  357. * Unix:                                 Unix.
  358. * Unix pipes:                           CNPipe.
  359. * Unix Select:                          CNSelect.
  360. * Weibull Distribution:                 CNWeibull.
  361.  
  362.